import './assets/main.css'

import {createApp} from 'vue'
import {createPinia} from 'pinia'

import App from './App.vue'
import router from './router'
// @ts-ignore
import {createPersistedState} from 'pinia-persistedstate-plugin';
import Vant from 'vant'
import 'vant/lib/index.css'
import 'lib-flexible/flexible'

const app = createApp(App)

const pinia = createPinia()
app.use(pinia)
app.use(router)
app.use(Vant)
const persist = createPersistedState()
pinia.use(persist)
app.mount('#app')
